<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/Calendar3.js"></script>
<style type="text/css">
	input
	{
		height:20px;
		width:200px;
		margin-bottom: 10px;
	}
	label
	{
		  display:inline-block;
		  width:170px;
		  text-align:right;
		  margin-bottom: 10px;
	}
	div#a
	{
		height:400px;
		width:550px;
		border-style:solid;
		border-width:1px;
		position:absolute;
		left:460px;
		top:20px;
	}
	form
	{
		margin-top: 20px;
		margin-left: 10px;
	}
	p{
		margin:0px;
		position:relative;
		left:15px;
	}
	div#b{
		border-bottom-style:solid;
		border-width:1px;
		}

</style>
</head>
<body>
<div id="a">
	<div id="b">
		<p>商品登记入库</p>
	</div >
	<form action="${pageContext.request.contextPath }/goods/insertGood" method="post">		
		<label>商品名字 :</label><input type="text" name="goods.name"/><br/>
		<label>商品类型: </label><input type="text" name="type.typename"/><br/>
		<label>商品价格 :</label><input type="text" name="goods.price"/><br/>
		<label>生产日期: </label><input class="controler" name="goods.prodate" type="text" id="control_date" size="10"
	                    onclick="new Calendar().show(this);" readonly="readonly" /><br/>
		<label>有效期(限食品):</label><input class="controler" name="goods.effdate" type="text" id="control_date" size="10"
	                  	 onclick="new Calendar().show(this);" readonly="readonly" /><br/>
		<label>生产商(限食物和衣服):</label><input type="text" name="goods.producer"/><br/>
		<label>出版社(限书本):</label><input type="text" name="goods.publisher"/><br/>
		<label>尺码(限衣服):</label><input type="text" name="goods.size"/><br/>
		<label>数量 :</label><input type="text" name="goods.num"/><br/>
		<input style="width:46px;height:25px;margin-left:168px" type="submit" value="提交"/>
		<a href="${pageContext.request.contextPath }/employee/toEmployeeBase"><button type="button">返回</button></a>
	</form>
</div>
</body>
</html>